package cn.morgan.utils.test.jvm;

public class GCTest1 {
	
	public static final int _1MB = 1024 * 1024;
	
	public static void testAllocation(){
		byte[] arr1,arr2,arr3,arr4;
		arr1 = new byte[2 * _1MB];
		arr2 = new byte[2 * _1MB];
		arr3 = new byte[2 * _1MB];
		arr4 = new byte[4 * _1MB];
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		testAllocation();
	}

}
